const prefix = 'https://api.it120.cc/Lovemoveheartpain';
const init = {
  methods: {
    GET: 'GET',
    POST: 'POST',
    PUT: 'PUT',
    DELETE: 'DELETE',
  },
  url: {
    banner: prefix + `/banner/list`,
    category: prefix + `/shop/goods/category/all`,
    goodsList: prefix + `/shop/goods/list`,
    goodsDetails: prefix + `/shop/goods/detail`,
    goodsDetails: prefix + `/shop/goods/detail`,
    addCart: prefix + `/shopping-cart/add`,
    getCartInfo: prefix + `/shopping-cart/info`,
    removeCartInfo: prefix + `/shopping-cart/remove`,
    modifyNumber: prefix + `/shopping-cart/modifyNumber`,
    favAdd: prefix + `/shop/goods/fav/add`,
    favDelete: prefix + `/shop/goods/fav/delete`,
    favCheck: prefix + `/shop/goods/fav/check`,
    unLimit: prefix + `/qrcode/wxa/unlimit`,
    favList: prefix + `/shop/goods/fav/list`,
    loginout: prefix + `/user/loginout`,
    addAddress: prefix + `/user/shipping-address/add`,
    deleteAddress: prefix + `/user/shipping-address/delete`,
    updateAddress: prefix + `/user/shipping-address/update`,
    addressList: prefix + `/user/shipping-address/list`,
    addressDetail: prefix + `/user/shipping-address/detail/v2`,
    addressDefault: prefix + `/user/shipping-address/default/v2`,
    province: `https://api.it120.cc/common/region/v2/province`,
    city: `https://api.it120.cc/common/region/v2/child`,
  }
}

export default init;